package com.oss.mq.mapper;

import com.oss.mq.entity.pojo.ServiceRegister;

import java.util.List;

public interface ServiceRegisterMapper {
    int deleteByPrimaryKey(Long serviceId);

    int insertSelective(ServiceRegister record);

    ServiceRegister selectByPrimaryKey(Long serviceId);

    ServiceRegister selectByIp(String ip);

    List<ServiceRegister> selectAllLive();

    int updateByPrimaryKeySelective(ServiceRegister record);

}